package com.zhx.experiment.mapper;

import com.zhx.experiment.entity.User;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserMapper {

    List<User> findAll();

    void insertUser(User user);

    User queryUser(String username);

    User loginUser(String username,String password);

    void updateUser(User user);

    void deleteUser(String username);
}
